package com.fashion.web.actions;

import java.util.ArrayList;
import java.util.List;

import javax.annotation.Resource;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Result;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.fashion.model.News;
import com.fashion.model.brand.Brand;
import com.fashion.service.NewsService;
import com.fashion.service.brand.BrandService;
import com.opensymphony.xwork2.ActionSupport;

@Scope("prototype")
@Controller
@Namespace("/info")
public class InfoAction extends ActionSupport {

	@Action(value = "about", results = { @Result(name = SUCCESS, location = "about.jsp") })
	public String about() throws Exception {	
		return SUCCESS;
	}
	
	@Action(value = "ad", results = { @Result(name = SUCCESS, location = "contact.jsp") })
	public String ad() throws Exception {	
		return SUCCESS;
	}
	
	@Action(value = "contact", results = { @Result(name = SUCCESS, location = "contact.jsp") })
	public String contact() throws Exception {	
		return SUCCESS;
	}
	
	@Action(value = "copyright", results = { @Result(name = SUCCESS, location = "copyright.jsp") })
	public String copyright() throws Exception {	
		return SUCCESS;
	}
	
	@Action(value = "hr", results = { @Result(name = SUCCESS, location = "contact.jsp") })
	public String hr() throws Exception {	
		return SUCCESS;
	}
}
